package com.bjtu.ptsite.model;
import java.util.List;

/**
 *
 * @author Zehao Wang, Junjie Zhang, Yutao Wei
 *
 */
public class PageResult<T> {
    private long total;
    private List<T> list;

    public PageResult(long total, List<T> list) {
        this.total = total;
        this.list = list;
    }

    /**
     *
     * Getters
     *
     */
    public long getTotal() {
        return total;
    }

    public List<T> getList() {
        return list;
    }
}
